ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






FUNCTION:  IsDate( ) 

IsDate(Expression)

The IsDate function determines if the expression is a date.

Code:
<% mydate = "6/26/1943" %>
<% =IsDate(mydate) %>

Output:
True

Code:
<% =IsDate("This is a string.") %>

Output:
False